<?php $this->pageTitle=Yii::app()->name . ' - Contact Us'; ?>

<div id="main">
	<div class="contact">
		<div class="contact-image"><?php echo CHtml::image(Yii::app()->baseUrl.'/images/logo.png'); ?></div>
    	<div class="contact-content">
		<?php if(Yii::app()->user->hasFlash('contact')): ?>
			<div class="flash-success">
				<?php echo Yii::app()->user->getFlash('contact'); ?>
			</div>
		<?php else: ?>
			<div id="form-contact">
				<h6>CONTACT</h6>
				<?php $form=$this->beginWidget('CActiveForm', array(
					'id'=>'contact-form',
					'enableClientValidation'=>true,
					'clientOptions'=>array(
						'validateOnSubmit'=>true,
					),
				)); ?>
				<div class="content-item">
					<div class="content-item-text">
						<h1><span class="form_item_text_valid">*</span>Họ và Tên KH:</h1>
					</div>
				   <input name="ContactForm[name]" type="text" id="ContactForm_name" class="text1"/> 
				</div>
				<div class="content-item">
				    <div class="content-item-text">
						<h1><span class="form_item_text_valid">*</span>Email:</h1>
					</div>
				    <input name="ContactForm[email]" type="text" id="ContactForm_email" class="text1"/>
			 	</div>				
			 	<div class="content-item">
				    <div class="content-item-text">
						<h1><span class="form_item_text_valid">*</span>Điện thoại: </h1>
					</div>
					<input name="ContactForm[mobile]" type="text" id="ContactForm_mobile" class="text1"/>
				</div>
				<div class="content-item">
				    <div class="content-item-text">
						<h1><span class="form_item_text_valid">*</span>Tiêu đề:</h1>
					</div>
					<input name="ContactForm[subject]" type="text" id="ContactForm_subject" class="text1"/>
				</div>			 	
			 	<div class="content-item">
				    <div class="content-item-text">
						<h1><span class="form_item_text_valid">*</span>Ghi chú:</h1>
					</div>
					<textarea name="ContactForm[body]" type="text" id="ContactForm_body" class="text6"></textarea>
				</div>
			 	<div class="content-item">
					<div class="right-item">
						<?php echo CHtml::submitButton(Yii::t('labels','Send'),array('class'=>'button')); ?>
						<?php echo CHtml::link(Yii::t('labels','Reset'),'#',array('class'=>"button")); ?>
					</div>
				</div>
			<?php $this->endWidget(); ?>           
			</div><!--end .form-contact-->
			<?php endif; ?>
			<div class="clear"></div>
    	</div><!--end .contact-content-->
		<div class="ban-do">
			<iframe width="250" height="250" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=vi&amp;geocode=&amp;q=427+Nguy%E1%BB%85n+%C4%90%C3%ACnh+Chi%E1%BB%83u,+ph%C6%B0%E1%BB%9Dng+5,+H%E1%BB%93+Ch%C3%AD+Minh,+Qu%E1%BA%ADn+3,+Vi%E1%BB%87t+Nam&amp;aq=0&amp;oq=427+Nguy%E1%BB%85n+%C4%90%C3%ACnh+Chi%E1%BB%83u,+ph%C6%B0%E1%BB%9Dng+5,+Qu%E1%BA%ADn+3,+H%E1%BB%93+Ch%C3%AD+Minh,+Vi%E1%BB%87t+Nam&amp;sll=10.790151,106.70123&amp;sspn=0.008863,0.014559&amp;g=42+Nguy%E1%BB%85n+%C4%90%C3%ACnh+Chi%E1%BB%83u,+ph%C6%B0%E1%BB%9Dng+5,+Qu%E1%BA%ADn+3,+H%E1%BB%93+Ch%C3%AD+Minh,+Vi%E1%BB%87t+Nam&amp;ie=UTF8&amp;hq=&amp;hnear=427+Nguy%E1%BB%85n+%C4%90%C3%ACnh+Chi%E1%BB%83u,+ph%C6%B0%E1%BB%9Dng+2,+Qu%E1%BA%ADn+3,+H%E1%BB%93+Ch%C3%AD+Minh,+Vi%E1%BB%87t+Nam&amp;ll=10.770674,106.682739&amp;spn=0.008864,0.014559&amp;t=m&amp;z=14&amp;output=embed"></iframe>
			<br>
			<small><a href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=vi&amp;geocode=&amp;q=427+Nguy%E1%BB%85n+%C4%90%C3%ACnh+Chi%E1%BB%83u,+ph%C6%B0%E1%BB%9Dng+5,+H%E1%BB%93+Ch%C3%AD+Minh,+Qu%E1%BA%ADn+3,+Vi%E1%BB%87t+Nam&amp;aq=0&amp;oq=427+Nguy%E1%BB%85n+%C4%90%C3%ACnh+Chi%E1%BB%83u,+ph%C6%B0%E1%BB%9Dng+5,+Qu%E1%BA%ADn+3,+H%E1%BB%93+Ch%C3%AD+Minh,+Vi%E1%BB%87t+Nam&amp;sll=10.790151,106.70123&amp;sspn=0.008863,0.014559&amp;g=42+Nguy%E1%BB%85n+%C4%90%C3%ACnh+Chi%E1%BB%83u,+ph%C6%B0%E1%BB%9Dng+5,+Qu%E1%BA%ADn+3,+H%E1%BB%93+Ch%C3%AD+Minh,+Vi%E1%BB%87t+Nam&amp;ie=UTF8&amp;hq=&amp;hnear=427+Nguy%E1%BB%85n+%C4%90%C3%ACnh+Chi%E1%BB%83u,+ph%C6%B0%E1%BB%9Dng+2,+Qu%E1%BA%ADn+3,+H%E1%BB%93+Ch%C3%AD+Minh,+Vi%E1%BB%87t+Nam&amp;ll=10.770674,106.682739&amp;spn=0.008864,0.014559&amp;t=m&amp;z=14" style="color:#0000FF;text-align:left">Xem Bản đồ cỡ lớn hơn</a></small>
		</div><!--end .bando-->
	</div><!--end .contact-->
</div>